package com.senni.annotation;

import com.senni.config.CommonFeignConfiguration;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Target({ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
public @interface FeignClient {
    String value() default "";
    //声明单独的配置
    Class<? extends CommonFeignConfiguration> configuration() default CommonFeignConfiguration.class;
}
